package zhihuilan.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置
 */
@Component
public class WxMiniConfig {
    @Value("${wx.miniapp.appId}")
    private String appId;
    @Value("${wx.miniapp.secret}")
    private String appSecret;
    @Value("${wx.grant_type}")
    private String grantType;
    @Value("${wx.jscodeUrl}")
    private String jscodeUrl;

    public String getAppId() {
        return appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getGrantType() {
        return grantType;
    }

    public String getJscodeUrl() {
        return jscodeUrl;
    }
}

